<?php
class QuickForm extends CFormModel
{
    public $name;
    public $desription;
  
    public function rules()
    {
        return array(
            array('name, desription', 'required'),
            array('desription', 'safe'),
        );
    }
  
    public function attributeLabels()
    {
        return array(
            'name'=>'Ваше имя',
            'desription'=>'Текст',
        );
    }
}
?>